RMDIR

Section: MINTLIB LIBRARY FUNCTIONS (3)
Updated: 3 March 1993
Index Return to Main Contents
 

NAME

rmdir - remove a directory  

SYNOPSIS

#include <unistd.h>

int rmdir(const char *path);
 

DESCRIPTION

rmdir removes the directory named by the path parameter. The directory must not have any entries other than "." and "..".  

RETURN VALUES


 0 on success -1 on failure; errno is set to indicate the error.  

SEE ALSO

mkdir(3), Ddelete(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 11:14:47 GMT, June 22, 2025